//
import request from '@/utils/request'

// 师傅余额流水分页
export function apiGetWorkerBalanceRecordPage(data) {
    return request({
        method: 'post',
        url: '/memberBalanceRecord/getWorkerBalanceRecordPage',
        data: data,
        headers: {
            "Content-Type": "application/json"
        }
    })
}
// 师傅余额流水导出
export function apiGetWorkerBalanceRecordExport(data) {
    return request({
        method: 'post',
        url: '/memberBalanceRecord/getWorkerBalanceRecordExport',
        data: data,
        headers: {
            "Content-Type": "application/json"
        }
    })
}
// 获取订单流水列表
export function apiOrderSettlementList(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/list',
        params: data,

    })
}


// 查询余额
export function apiMemberBalanceGetMemberBalance(data) {
    return request({
        method: 'post',
        url: '/memberBalance/getMemberBalance',
        data: data,
    })
}

// 获取运营后台师傅订单结算流水列表分页
export function apiOrderSettlementListByPlatformWorker(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/listByPlatformWorker',
        params: data,
    })
}

//导出运营后台师傅订单结算流水列表分页

export function apiOrderSettlementExportByPlatformWorker(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/exportByPlatformWorker',
        params: data,
    })
}
// 获取运营后台商家订单结算流水列表分页
export function apiOrderSettlementListByPlatformMerchant(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/listByPlatformMerchant',
        params: data,
    })
}
// 到处运营后台商家订单结算流水列表
export function apiOrderSettlementExportByPlatformMerchant(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/exportByPlatformMerchant',
        params: data,
    })
}
// 结算流水列表导出
export function apiOrderSettlementExport(data) {
    return request({
        method: 'post',
        url: '/orderSettlement/export',
        data: data,
    })
}
// 平台服务商结算
export function apiListByPlatformSaaS(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/listByPlatformSaaS',
        params: data,
    })
}
// 平台服务商导出
export function apiExportByPlatformSaaS(data) {
    return request({
        method: 'get',
        url: '/orderSettlement/exportByPlatformSaaS',
        params: data,
    })
}